﻿using B.S.BasicData.Api.Read.DTOs;
using B.S.BasicData.ErrorCode;
using MediatR;

namespace B.S.BasicData.Api.Read.Application.Command.MyLog
{
    /// <summary>
    /// 查询日志分页列表的请求命令
    /// </summary>
    public class SearchLogCommand:IRequest<ApiPaging<LogDTO>>
    {
        /// <summary>
        /// 日志内容
        /// </summary>
        public string? LogDes { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string? Creator { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 当前页码
        /// </summary>
        public int PageIndex {  get; set; }
        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize {  get; set; }
             
    }
}
